package com.owen.blog.service;

import com.owen.blog.dto.BlogLabelDTO;
import com.owen.blog.vo.BlogLabelVO;

import java.util.List;
import java.util.Map;

/**
 * 文章标签服务
 */
public interface BlogLabelService {

    BlogLabelVO get(String id);

    List<BlogLabelVO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(BlogLabelDTO blogLabel);

    int update(BlogLabelDTO blogLabel);

    int remove(String id);

    int batchRemove(String[] ids);

    List<BlogLabelVO> findAll();

}
